public class test {
    public static void printfArray(int[] array,int len ){
        if(len!=0){
            System.out.print(array[len-1]+"  ");
            printfArray(array,len-1);
        }

    }
    public static void main(String[] args) {
        int[] str={1,3,5,7,9};
        printfArray(str,5);
    }
}
